package cn.rkylin.oms.warehouse.stock.service;

/**
 * 库存服务接口
 * @author liming
 * @date 2017/10/30
 */

public interface IStockService {

    /**
     * 项目库存结余
     *
     * @param prjId
     * @return
     */
    public int insertStockBalance(String prjId)  throws Exception;

    /**
     * insertStockDiff:生成库存差异单. <br/>
     * 按照项目生成库存差异单.<br/>
     * 根据项目获取仓库，并计算仓库中商品的库存差异.<br/>
     * rocket自动调用.<br/>
     *
     * @author zhanghao
     * @param prjId
     * @return
     * @throws Exception
     */
    public int insertStockDiff(String prjId)  throws Exception;
    
}
